<?php
/**
 * @package qBase
 * @subpackage web
 */

/**
 * QControlPlaceholder control holds the place for a control that has
 * position absolute and need to be placed over this control
 *
 * @package qBase
 * @subpackage web
 */
class QOverlayControl extends QWebControl
{
	/**
	 * The div to overlay
	 *
	 * @var string
	 */
	private $divToOverlay = null;

	public function setOverlayDiv($div_id)
	{
		$this->divToOverlay = $div_id;
		$this->setJsParam("divToOverlay", $this->divToOverlay, true);
	}

	public function getOverlayDiv()
	{
		return $this->divToOverlay;
	}

	public function unsetOverlayDiv()
	{
		unset($this->divToOverlay);
		$this->unsetJsParam("divToOverlay", null, true);
	}
}


?>